﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace G.Service.Push
{
    public interface ISendContext
    {
        void Send();
        event EventHandler SendComplet;
        event EventHandler<SendExceptionArgs> SendException;
    }

    public class SendExceptionArgs : EventArgs
    {
        public Exception Exception { get; internal set; }
        public SendExceptionArgs(Exception ex)
        {
            Exception = ex;
        }
    }
}
